//
//  GS_SportsDetailsCollectionViewCell.m
//  GoodManNews
//
//  Created by dllo on 16/1/12.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "GS_SportsDetailsCollectionViewCell.h"
#import "Masonry.h"

@implementation GS_SportsDetailsCollectionViewCell

- (void)dealloc
{
    
    [_imageV release];
    [super dealloc];
}

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self createSubviews];
    }
    return self;
}

- (void)layoutSubviews
{
    [super layoutSubviews];
    [self.imageV mas_makeConstraints:^(MASConstraintMaker *make) {
       
//        make.top.mas_equalTo(self.contentView.mas_top).with.offset(150);
//        make.bottom.mas_equalTo(self.contentView.mas_bottom).with.offset(-230);
        make.center.equalTo(self.contentView);
        make.width.equalTo(self.contentView);
        make.height.equalTo(@450);
        
    }];
    
    
    
}

- (void)createSubviews
{
    
    self.imageV = [UIImageView new];
    self.imageV.backgroundColor = [UIColor orangeColor];
    [self.contentView addSubview:self.imageV];
    
    
}

@end
